package com.Single;

import java.io.IOException;
import java.util.Properties;

public class Singleton3 {
    public static final Singleton3 INSTANCE;
    private String info;

    static {

        try {
            Properties ps = new Properties();
            ps.load(Singleton3.class.getClassLoader().getResourceAsStream("single.properties"));
            INSTANCE = new Singleton3(ps.getProperty("info"));
        } catch (IOException e) {
           throw new RuntimeException(e);
        }

    }
    private Singleton3(String info){
        this.info = info;
    }


}
